package com.miao.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.Instant;

@Data
public class UserDTO {
    private String phone;
    private String email;
    private String password;
    private String nick;
    private String gender;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Instant birth;
}
